home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT2.SPK / test / test_a / makefile
Makefile  |  1996-11-12  |  8KB  |  258 lines

  1. LCLINT        =    lclint
  2.  
  3. LCLINTR        =    $(LCLINT) -nof -hints
  4.  
  5. DIFF        =    diff
  6.  
  7. .IGNORE:
  8.  
  9. all:
  10.     @-amu help abstptr abstract alias alttypes ansireserved argorder args blocks \
  11.     break cases cast charlit clauses commentchar compdestroy controldepth \
  12.     csyntax czechnames czechoslovaknames decl enum exports external fields \
  13.     flags funcpointer glob globals impabstract init inparam internal iter \
  14.     keep libs lintcomments list macros macrosef merge modifies mongoincludes
  15.  
  16. help:
  17.     @-$(LCLINT)
  18.     $(LCLINT) -help
  19.     $(LCLINT) -asdf
  20.     $(LCLINT) +boolint +boolint 
  21.     $(LCLINT) -help flags alpha
  22.     $(LCLINT) -help flags all
  23.  
  24. abstptr:
  25.     $(LCLINTR) abstptr -expect 9
  26.     $(LCLINTR) abstptr +voidabstract -expect 6
  27.  
  28. abstract:
  29.     $(LCLINTR) lcl.abst_t c.commentcmd -expect 15
  30.  
  31. alias:
  32.     @-cdir lh-old
  33.     @-copy lh.mut lh-old.mut ~C D ~V
  34.     $(LCLINTR) +lh mut
  35.     @-$(DIFF) lh.mut lh-old.mut
  36.     $(LCLINTR) mut alias +globalias -expect 19
  37.     $(LCLINTR) mut alias2 +globalias -expect 17
  38.     $(LCLINTR) +lh alias3 -expect 14 
  39.     $(LCLINTR) +lh alias4 +boolint
  40.     $(LCLINTR) alias4 -pred +retalias -expect 6
  41.     $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
  42.  
  43. alttypes:
  44.     $(LCLINTR) c.alttypes -expect 2
  45.  
  46. ansireserved:
  47.     $(LCLINTR) c.ansrserved +ansireserved -nolib -expect 8
  48.     $(LCLINTR) c.ansrserved +ansireserved +ansireservedlocal -nolib -expect 11
  49.     $(LCLINTR) c.ansrserved +checks -exportheadervar -exportheader -expect 9
  50.  
  51. argorder:
  52.     $(LCLINTR) c.argorder -expect 4
  53.     $(LCLINTR) argorder2  -expect 5
  54.     $(LCLINTR) c.argorder3 -expect 8
  55.     $(LCLINTR) argorder4 -expect 9
  56.     $(LCLINTR) argorder4 -evalorder -expect 1
  57.     $(LCLINTR) c.argorder5 +evalorderuncon -expect 3
  58.  
  59. args:
  60.     $(LCLINTR) args -noeffect -expect 12
  61.  
  62. blocks:
  63.     $(LCLINTR) c.blocks -expect 4
  64.     $(LCLINTR) c.blocks +ifblock +elseifcomplete -expect 7
  65.     $(LCLINTR) c.blocks -ifempty +whileempty +whileblock -expect 3
  66.     $(LCLINTR) c.blocks -ifempty +forempty +forblock -expect 3
  67.     $(LCLINTR) c.blocks +allempty -expect 6
  68.     $(LCLINTR) c.blocks +strict +partial -exportheader -expect 11
  69.  
  70. break:
  71.     $(LCLINTR) c.break -expect 4
  72.     $(LCLINTR) c.break +deepbreak -expect 6
  73.     $(LCLINTR) c.break +deepbreak -looploopbreak -expect 5
  74.  
  75. cases: 
  76.     $(LCLINTR) c.cases -expect 5
  77.     $(LCLINTR) c.cases2 -expect 2
  78.     $(LCLINTR) c.cases2 +checks -exportheader -expect 3
  79.     $(LCLINTR) c.cases2 +checks -exportheader -branchstate -expect 3
  80.  
  81. cast:
  82.     $(LCLINTR) cast -accessmodule -expect 20
  83.     $(LCLINTR) c.cast2 +checks -exportheader -expect 3
  84.  
  85. charlit:
  86.     $(LCLINTR) +hints c.charlit -expect 4
  87.     $(LCLINTR) +hints -numliteral c.charlit -expect 5
  88.     $(LCLINTR) +hints c.charlit +charintliteral +ignoresigns
  89.  
  90. clauses: 
  91.     $(LCLINTR) c.clauses +memchecks -expect 4
  92.     $(LCLINTR) c.clauses2 +memchecks 
  93.     $(LCLINTR) c.clauses3 +memchecks -expect 2
  94.     $(LCLINTR) c.clauses3 +memchecks +unixlib -expect 3
  95.  
  96. commentchar:
  97.     $(LCLINTR) c.cmmentchar -expect 4
  98.     $(LCLINTR) -commentchar '#' c.cmmentchar -expect 4
  99.  
  100. controldepth:
  101.     $(LCLINTR) +hints -controlnestdepth 2 c.cntrldepth -expect 2
  102.     $(LCLINTR) +hints -controlnestdepth 1 c.cntrldepth -expect 2
  103.  
  104. compdestroy:
  105.     $(LCLINTR) c.cmpdestroy +checks -exportheader -expect 1
  106.     $(LCLINTR) c.cmpdestroy +checks -exportheader +strictdestroy -expect 2
  107.     $(LCLINTR) c.cmpdestroy +checks -exportheader +strictdestroy +strictusereleased -expect 3
  108.     $(LCLINTR) c.cmpdestroy +strict +partial -exportheader -expect 3
  109.  
  110. csyntax:
  111.     $(LCLINTR) +quiet -incondefs c.csyntax 
  112.     $(LCLINTR) +quiet c.csyntax2
  113.     $(LCLINTR) +quiet c.csyntax3
  114.     $(LCLINTR) +quiet -incondefs c.csyntax4
  115.     $(LCLINTR) +quiet c.csyntax5
  116.     $(LCLINTR) +quiet c.csyntax6
  117.     $(LCLINTR) +quiet c.csyntax7
  118.     $(LCLINTR) +quiet c.csyntax8
  119.     $(LCLINTR) +quiet c.csyntax9
  120.     $(LCLINTR) +quiet c.csyntax10
  121.     $(LCLINTR) +quiet c.csyntax11
  122.     $(LCLINTR) +quiet c.csyntax12
  123.     $(LCLINTR) +quiet c.csyntax13
  124.     $(LCLINTR) +quiet c.csyntax14
  125.     $(LCLINTR) +quiet c.csyntax15
  126.     $(LCLINTR) +quiet c.csyntax16
  127.     $(LCLINTR) +quiet c.csyntax17
  128.  
  129. czechnames:
  130.     $(LCLINTR) c.czechnames
  131.     $(LCLINTR) +hints +czech c.czechnames -expect 2
  132.     $(LCLINTR) +hints +czech -czechvars c.czechnames -expect 1
  133.     $(LCLINTR) +hints +czech -accessczech c.czechnames -expect 6
  134.  
  135. czechoslovaknames:
  136.     $(LCLINTR) +hints +czechoslovak c.czechnames -expect 1
  137.     $(LCLINTR) +hints +czechoslovak c.slvaknames -expect 1
  138.     $(LCLINTR) +hints +czechoslovak +slovakvars c.slvaknames -expect 2
  139.  
  140. decl:
  141.     $(LCLINTR) c.decl -expect 3
  142.     $(LCLINTR) c.decl +strict -expect 6
  143.     $(LCLINTR) decl2 -expect 4
  144.  
  145. enum:
  146.     $(LCLINTR) enum -expect 16
  147.     $(LCLINTR) enum -misscase -expect 14
  148.  
  149. exports:
  150.     $(LCLINTR) c.exports +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
  151.     $(LCLINTR) c.exports +exportany -expect 3
  152.     $(LCLINTR) c.exports
  153.  
  154. external:
  155.     $(LCLINTR) c.external +partial
  156.     $(LCLINTR) c.external +partial +distinctexternalnames -expect 2
  157.     $(LCLINTR) c.external -nolib +partial -externalnamelength 3 -expect 3
  158.     $(LCLINTR) c.external -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
  159.     $(LCLINTR) c.external +partial -externalnamelength 3 -expect 4
  160.  
  161. fields:
  162.     $(LCLINTR) c.fields +memchecks -expect 6
  163.     $(LCLINTR) c.fields2 +memchecks -expect 5
  164.     $(LCLINTR) c.fields3 +memchecks
  165.  
  166. flags:
  167.     $(LCLINTR) c.flags -expect 8
  168.     $(LCLINTR) +nocomments c.flags -expect 2
  169.  
  170. funcpointer:
  171.     $(LCLINTR) +memchecks +noparams c.fncpointer -expect 16
  172.  
  173. glob:
  174.     $(LCLINTR) glob -expect 4
  175.     $(LCLINTR) glob -globuse -expect 3
  176.     $(LCLINTR) glob +globunspec -expect 6
  177.  
  178. globals:
  179.     $(LCLINTR) -modifies c.globals -expect 5
  180.     $(LCLINTR) -modifies c.globals +allglobals -expect 6
  181.     $(LCLINTR) -modifies c.globals +impcheckedglobals -expect 6
  182.     $(LCLINTR) -modifies c.globals -globals -checkstrictglobals -expect 2
  183.     $(LCLINTR) -modifies c.globals +globunspec -expect 6
  184.     $(LCLINTR) -modifies c.globals +globunspec +allglobals -expect 8
  185.  
  186. impabstract:
  187.     $(LCLINTR) -accessfile c.impbstract 
  188.     $(LCLINTR) -accessfile +hints +impabstract c.impbstract -expect 2
  189.     $(LCLINTR) -accessfile +hints +impabstract impbstract -expect 2
  190.  
  191. init:
  192.     $(LCLINTR) c.init -expect 12
  193.     $(LCLINTR) c.init +checks -exportheadervar -expect 15
  194.  
  195. inparam:
  196.     $(LCLINTR) c.inparam -expect 2
  197.     $(LCLINTR) +impouts c.inparam -expect 1
  198.  
  199. internal:
  200.     $(LCLINTR) c.internal -expect 1
  201.     $(LCLINTR) c.internal +distinctinternalnames -expect 2
  202.     $(LCLINTR) c.internal -internalnamelen 28 -expect 3
  203.     $(LCLINTR) c.internal +internalnamecaseinsensitive -expect 3
  204.     $(LCLINTR) c.internal +internalnamecaseinsensitive +internalnamelookalike -expect 11
  205.  
  206. iter:
  207.     $(LCLINTR) iter -expect 14 -lclexpect 1
  208.     $(LCLINTR) c.iter2 -expect 12
  209.  
  210. keep:
  211.     $(LCLINTR) c.keep +memchecks -expect 6
  212.  
  213. libs:
  214.     $(LCLINTR) c.libs +longunsignedunsignedintegral -expect 13
  215.     $(LCLINTR) c.libs -expect 17
  216.     $(LCLINTR) c.libs +globunspec +modunspec -expect 20
  217.     $(LCLINTR) c.libs +strictlib +globunspec +modunspec -expect 37
  218.  
  219. lintcomments:
  220.     $(LCLINTR) c.lntcmments -expect 4
  221.     $(LCLINTR) c.lntcmments -warnlintcomments -expect 1
  222.     $(LCLINTR) c.lntcmments -lintcomments -expect 4
  223.  
  224. list:
  225.     $(LCLINTR) c.list -expect 3
  226.  
  227. macros:
  228.     $(LCLINTR) macros -expect 17 
  229.     $(LCLINTR) c.macros +allmacros -expect 34
  230.     $(LCLINTR) c.macros +fcnmacros -expect 31
  231.  
  232.  
  233. macrosef:
  234.     $(LCLINTR) macrosef -expect 4
  235.     $(LCLINTR) c.macrosef +allmacros -expect 3
  236.     $(LCLINTR) c.macrosef +allmacros +sefuncon -expect 4
  237.  
  238. merge:
  239.     $(LCLINTR) c.merge +checks -exportheadervar -exportheader -expect 3
  240.  
  241. modifies:
  242.     $(LCLINTR) c.modifies c.modclient +impcheckedstatics +mustmod -expect 7
  243.  
  244. mongoincludes:
  245.     $(LCLINTR) c.mngncludes -includenest 1 -expect 19
  246.     $(LCLINTR) c.mngncludes -includenest 2 -expect 10
  247.     $(LCLINTR) c.mngncludes -includenest 3 -expect 4
  248.     $(LCLINTR) c.mngncludes -includenest 4 -expect 1
  249.     $(LCLINTR) c.mngncludes -includenest 5 -expect 0
  250.  
  251. clean:
  252.     -wipe lcs ~CFR~V
  253.     -wipe lh-old ~CFR~V
  254.     -wipe lh_tmp ~CFR~V
  255.     dir db1; @-amu clean ; up
  256.     dir db2; @-amu clean ; up
  257.     dir db3; @-amu clean ; up
  258.